<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p>remove片段</p>
<div th:remove="all">
    指定all删除选项
    <p>
        Hello
        <span>我是Span</span>
    </p>
</div>
<br/>
<br/>
<p>body</p>
<div th:remove="body">
    指定body
    <p>hello body</p>
</div>
<br/>
<br/>
<p>tag</p>
<div th:remove="tag">
    tag范围值
    <p>hello tag</p>
</div>
<br/>
<br/>
<p>all-but-first</p>
<div th:remove="all-but-first">
    all-but-first
    <p>hello all-but-first1</p>
    <p>hello all-but-first2</p>
    <p>hello all-but-first3</p>
</div>
</body>
</html>